package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.CWaybillTrail;
import cn.huiyunche.tools.basic.exceptions.BusinessException;

import java.util.List;

/**
 * 运单物流跟踪
 */
public interface WaybillTrailService {

    /**
     * 新增物流跟踪
     *
     * @param waybillTrail
     * @return
     * @throws BusinessException
     */
    void add(CWaybillTrail waybillTrail) throws Exception;


    /**
     * @param waybillID
     * @return
     * @Title selectByWaybillid
     * 获取最新一条物流信息
     */
    List<CWaybillTrail> selectByid(Long waybillID);

}
